package com.link.base.base.mpconfig.dao.mybatis.mapper;

/**
 * @author 闫有霞
 * created: 2018-11-19
 * comments: 小程序配置信息
 */


import com.link.base.base.mpconfig.model.Mp;
import com.link.core.basic.dao.mapper.BasicMapper;

public interface MpMapper extends BasicMapper<Mp> {
    /**
     *@createdBy 闫有霞
     *@date 2018/11/30
     *@methods: updateMainFlag
     *@param: mp
     *@return: void
     *@description: 更新主要的
     **/
    public void updateMainFlag(Mp mp)throws Exception;

    /**
     * @createdBy 闫有霞
     * @date 2018/12/25
     * @methods: updateLeaveInfoFlag
     * @param:
     * @return:
     * @description: 更新是否强制留资
     **/
    public void updateLeaveInfoFlag(Mp mp) throws Exception;

    /**
     * @createdBy 闫有霞
     * @date 2018/12/25
     * @methods: updateShareFriendFlag
     * @param:
     * @return:
     * @description: 是否分享朋友圈
     **/
    public void updateShareFriendFlag(Mp mp) throws Exception;
}
